#ifndef CUSTOMTHREAD_H
#define CUSTOMTHREAD_H

#include <QThread>

class CustomThread : public QThread
{
    Q_OBJECT

public:
    explicit CustomThread(QObject * parent = 0);
    void stop();

protected:
    void run();

private:
    volatile bool stoped;
};

#endif // CUSTOMTHREAD_H
